from rest_framework.routers import SimpleRouter
from .views import *
from django.urls import path

router = SimpleRouter()

router.register('region', RegionViewSet)


urlpatterns = [
    path('upload', UploadFile.as_view()),
    path('weather', WeatherView.as_view(),),
    path('code.png', GenNumberImageView.as_view(),),
] + router.urls
